/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package dao.interfaces;

import dao.exception.DAOEtudiantException;
import java.sql.SQLException;
import java.util.ArrayList;
import model.Cour;
import model.Etudiant;
import model.Examen;
import model.Moyenne;
import model.Note;
import model.Personne;

/**
 *
 * @author Paul
 */
public interface DAOEtudiant {

    public ArrayList<Personne> getAll() throws DAOEtudiantException;

    public Etudiant rechercheEtudiant(String login, String mdp) throws DAOEtudiantException;

    public void create(Etudiant obj) throws DAOEtudiantException;

    public Float moyenneGeneral(ArrayList<Moyenne> moyennes) throws DAOEtudiantException;

    public ArrayList<Moyenne> affMoyennes(Etudiant etu, ArrayList<Cour> cours, ArrayList<Examen> examens, ArrayList<Note> notes) throws DAOEtudiantException;

    public ArrayList<Etudiant> getAllEtudiantFromCours(int id_Cour) throws DAOEtudiantException;
    
    public ArrayList<Etudiant> getAllEtudiant() throws DAOEtudiantException;

}